import java.util.Scanner;

public class 促销 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请问您是会员吗？");
        String answer = scanner.next();
        System.out.println("请输入价格：");
        double prince = scanner.nextDouble();
        if (answer.equals("yes")){
            if (100<prince){
                System.out.println("您需付款：："+prince*0.9);
            }else{
                System.out.println("您需付款："+prince*0.9);
            }
        }else {
            if (100<prince){
                System.out.println("您需付款："+prince*0.9);
            }else{
                System.out.println("您需付款："+prince);
            }
        }
    }
}